package com.keller.guli.service.cms.fegin.fallback;

import com.keller.guli.common.base.result.R;
import com.keller.guli.service.cms.fegin.OssFileService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service("OssFileServiceFallBack")
public class OssFileServiceFallBack implements OssFileService {
    @Override
    public R removeFile(String url) {
        log.info("熔断保护");
        return R.error().message("调用超时");
    }
}
